#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <math.h>

int main()
{
	int input = 0;
	    scanf("%d", &input);
	    int sum = 0;
	    int i = 0;
	    while (input)
	    {
	        int bit = input % 10;
	        if (bit % 2 != 0)
	        {
	            sum += 1 * pow(10, i);
	            i++;
	        }
	        else
	        {
	            sum += 0 * pow(10, i);
	            i++;
	        }
	        input /= 10;
	        
	    }
	    printf("%d\n", sum);
	return 0;
}